package com.example.springboot.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class User {
    private Integer id;
    private String username;
    private String userNumber;
    private String gender;
    private String phone;
    private String email;
    private String password;
    private Integer roleId;
    private String roleName;
    @JsonIgnore//忽略创建时间，不展示给前端
    private String createTime;
}
